cmake_minimum_required(VERSION 2.6)

project(segments_intersection)

# add_definitions(-Wall -O2 -Wno-sign-compare -std=c++0x)
link_libraries(gmp gmpxx)

set(common_src point.cpp polygon.cpp)

MESSAGE("PROJECT_BINARY_DIR=${PROJECT_BINARY_DIR}")

add_executable(main main.cpp ${common_src})
